package elsa.bean;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class ScsUser {
	
    private String userid;
    private String username;
    private String password;
    private String name;
    private String sex;
    private String coname;
    private String ct;
    private String lj;
    private String dq;
    private String state;
    private String oldpsd;
    private String fax;
    private String zipcode;
    private String crecode;
    private String ccadr;
    private String writename;

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date rgsttime;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date latesttime;
    
    private Integer work;

    private String role;

    public ScsUser(){
    	
    }
    
    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }
    
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }
    
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state == null ? null : state.trim();;
	}

	public Date getLatesttime() {
		return latesttime;
	}

	public void setLatesttime(Date latesttime) {
		this.latesttime = latesttime;
	}

	public Integer getWork() {
		return work;
	}

	public void setWork(Integer work) {
		this.work = work;
	}

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role == null ? null : role.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getConame() {
        return coname;
    }

    public void setConame(String coname) {
        this.coname = coname == null ? null : coname.trim();
    }

    public String getCt() {
        return ct;
    }

    public void setCt(String ct) {
        this.ct = ct == null ? null : ct.trim();
    }

    public String getLj() {
        return lj;
    }

    public void setLj(String lj) {
        this.lj = lj == null ? null : lj.trim();
    }

    public String getDq() {
        return dq;
    }

    public void setDq(String dq) {
        this.dq = dq == null ? null : dq.trim();
    }

    public Date getRgsttime() {
        return rgsttime;
    }

    public void setRgsttime(Date rgsttime) {
        this.rgsttime = rgsttime;
    }

    public String getOldpsd() {
        return oldpsd;
    }

    public void setOldpsd(String oldpsd) {
        this.oldpsd = oldpsd;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax == null ? null : fax.trim();
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode == null ? null : zipcode.trim();
    }

    public String getCcadr() {
        return ccadr;
    }

    public void setCcadr(String ccadr) {
        this.ccadr = ccadr == null ? null : ccadr.trim();
    }

    public String getWritename() {
        return writename;
    }

    public void setWritename(String writename) {
        this.writename = writename == null ? null : writename.trim();
    }

    public String getCrecode() {
        return crecode;
    }

    public void setCrecode(String crecode) {
        this.crecode = crecode == null ? null : crecode.trim();
    }
}